package com.zj.healthmanage.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zj.healthmanage.mapper.PhysicalassessmentlibraryMapper;
import com.zj.healthmanage.pojo.Physicalassessmentlibrary;
import com.zj.healthmanage.service.PhysicalassessmentlibraryService;
@Service
public class PhysicalassessmentlibraryServiceImpl implements PhysicalassessmentlibraryService{

    @Resource
    private PhysicalassessmentlibraryMapper physicalassessmentlibraryMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return physicalassessmentlibraryMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Physicalassessmentlibrary record) {
        return physicalassessmentlibraryMapper.insert(record);
    }

    @Override
    public int insertSelective(Physicalassessmentlibrary record) {
        return physicalassessmentlibraryMapper.insertSelective(record);
    }

    @Override
    public Physicalassessmentlibrary selectByPrimaryKey(Integer id) {
        return physicalassessmentlibraryMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Physicalassessmentlibrary record) {
        return physicalassessmentlibraryMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Physicalassessmentlibrary record) {
        return physicalassessmentlibraryMapper.updateByPrimaryKey(record);
    }

}
